package com.hc.model.code04.test7;

/**
 * @version v1.0
 * @ClassName: Person
 * @Description: 抽象的同事类
 * @Author: HC
 */
public abstract class Person {
    // 租房者名称
    protected String name;
    // 中介者对象
    protected Mediator mediator;

    public Person(String name, Mediator mediator) {
        this.name = name;
        this.mediator = mediator;
    }
}
